package com.hn.project.rqinspect.service;

import com.hn.framework.web.domain.AjaxResult;
import com.hn.project.rqinspect.domain.database.SysUser;
import com.hn.project.rqinspect.domain.dto.LoginDto;

public interface SysUserService {

    /**
     *  钉钉授权登录
     * @param code
     * @param corpId
     * @return
     */
    AjaxResult login(String code);

    SysUser getUserById(Integer userId);

    LoginDto getUserInfo(Integer userId);
}
